﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ConfExpert.master" AutoEventWireup="true"
    CodeFile="MyOrders.aspx.cs" Inherits="MyOrders" %>

<%@ Register assembly="DevExpress.XtraCharts.v16.1.Web, Version=16.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts.Web" tagprefix="dxchartsui" %>
<%@ Register assembly="DevExpress.XtraCharts.v16.1, Version=16.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts" tagprefix="cc1" %>

<asp:Content ID="content" ContentPlaceHolderID="phMain" runat="Server">
    <dx:ASPxPopupControl ID="popBigPhoto" runat="server" ClientInstanceName="popBigPhoto"
        PopupHorizontalAlign="OutsideRight" PopupVerticalAlign="WindowCenter" ClientIDMode="AutoID"
        AppearAfter="1" EnableAnimation="true" ShowHeader="false">
        <ContentStyle VerticalAlign="Middle" HorizontalAlign="Center">
        </ContentStyle>
        <ContentCollection>
            <dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server">
                <dx:ASPxImage ID="ASPxImage1" runat="server" ClientInstanceName="imgBigPopup">
                </dx:ASPxImage>
            </dx:PopupControlContentControl>
        </ContentCollection>
    </dx:ASPxPopupControl>
   
    <table width="100%">
        <tr>
           
            
    <td>        
        <dx:ASPxGridView ID="gvOzet" runat="server"   KeyFieldName="Status"
       Styles-Header-HorizontalAlign="Center" 
         AutoGenerateColumns="true"  
>
        <Styles>
            <Header HorizontalAlign="Center" Wrap="True">
            </Header>
            <Footer Wrap="False">
            </Footer>
        </Styles>
        <SettingsPager Mode="ShowAllRecords">
        </SettingsPager> 
        <Settings ShowFooter="true" />
        
        
      

    </dx:ASPxGridView>
                <asp:SqlDataSource ID="sds" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:ce %>" 
                    SelectCommand="SELECT * FROM [_KG_Temp]"></asp:SqlDataSource>
    </td>
    <td>        
        <dxchartsui:WebChartControl ID="chart" runat="server" 
                     Height="200px" Width="500px" DataSourceID="sds" >
                    <borderoptions visible="False" />
<BorderOptions Visible="False"></BorderOptions>
                    <diagramserializable>
                        <cc1:SimpleDiagram>
                        </cc1:SimpleDiagram>
                    </diagramserializable>
<FillStyle><OptionsSerializable>
<cc1:SolidFillOptions></cc1:SolidFillOptions>
</OptionsSerializable>
</FillStyle>

                    <legend visible="False"></legend>

                    <seriesserializable>
                        <cc1:Series ArgumentDataMember="Status"  Name="Status" 
                            ValueDataMembersSerializable="Total" ShowInLegend="False">
                            <viewserializable>
                                <cc1:PieSeriesView ExplodeMode="MaxValue" RuntimeExploding="False" Rotation="1">
                                </cc1:PieSeriesView>
                            </viewserializable>
                            <labelserializable>
                                <cc1:PieSeriesLabel Antialiasing="True" LineVisible="True" 
                                    Position="TwoColumns">
                                    <fillstyle>
                                        <optionsserializable>
                                            <cc1:SolidFillOptions />
                                        </optionsserializable>
                                    </fillstyle>
                                    <pointoptionsserializable>
                                        <cc1:PiePointOptions 
                                            PointView="ArgumentAndValues">
                                            <valuenumericoptions format="Percent" precision="0" />
<ValueNumericOptions Format="Percent" Precision="0"></ValueNumericOptions>
                                        </cc1:PiePointOptions>
                                    </pointoptionsserializable>
                                </cc1:PieSeriesLabel>
                            </labelserializable>
                            <legendpointoptionsserializable>
                                <cc1:PiePointOptions 
                                    PointView="ArgumentAndValues">
                                    <valuenumericoptions format="Percent" precision="0" />
<ValueNumericOptions Format="Percent" Precision="0"></ValueNumericOptions>
                                </cc1:PiePointOptions>
                            </legendpointoptionsserializable>
                        </cc1:Series>
                    </seriesserializable>
                    <seriestemplate argumentdatamember="Status" 
                        valuedatamembersserializable="Total">
                        <viewserializable>
                            <cc1:PieSeriesView RuntimeExploding="False">
                            </cc1:PieSeriesView>
                        </viewserializable>
                        <labelserializable>
                            <cc1:PieSeriesLabel LineVisible="True">
                                <fillstyle>
                                    <optionsserializable>
                                        <cc1:SolidFillOptions />
                                    </optionsserializable>
                                </fillstyle>
                                <pointoptionsserializable>
                                    <cc1:PiePointOptions>
                                    </cc1:PiePointOptions>
                                </pointoptionsserializable>
                            </cc1:PieSeriesLabel>
                        </labelserializable>
                        <legendpointoptionsserializable>
                            <cc1:PiePointOptions>
                            </cc1:PiePointOptions>
                        </legendpointoptionsserializable>
                    </seriestemplate>
                </dxchartsui:WebChartControl>
                </td>
            
            <td align="right">

               

                &nbsp;</td>
        </tr>
    </table>
    <dx:ASPxGridView ID="gvRezerve" runat="server"  Width="800px" KeyFieldName="ProductId"
        Settings-ShowFilterRow="true" Styles-Header-HorizontalAlign="Center" 
         AutoGenerateColumns="false" Settings-ShowGroupFooter="VisibleAlways" 
    OnHtmlRowPrepared="gvRezerve_HtmlRowPrepared"   >
        
           

        <Styles>
            <Header HorizontalAlign="Center" Wrap="True">
            </Header>
            <Footer Wrap="False">
            </Footer>
        </Styles>
        <SettingsPager Mode="ShowAllRecords">
        </SettingsPager>

<Settings ShowFilterRow="True" ShowFooter="True"></Settings>

        
      

    </dx:ASPxGridView>
</asp:Content>
